package com.framework.main.sys.bdtype.service;

import java.util.List;

import com.framework.base.constant.WebConstants;
import com.framework.base.service.BaseServiceImp;
import com.framework.main.sys.bdtype.dao.SysBdTypeDao;

/**
 * Title:首页 >> 系统管理 >> 基础数据管理 (ServiceImp)
 * Description:处理基础数据业务
 * tabaleName(对应的表名):SYS_BDTYPE
 * Copyright: Copyright (c) 2011
 * Company: framework
 * @author：邹乐乐
 * @version 1.0
 * @Date Jun 7, 2011 4:16:43 PM
 */
public class SysBdTypeServiceImp extends BaseServiceImp implements SysBdTypeService{
	private SysBdTypeDao bdTypeDao;

	public SysBdTypeDao getBdTypeDao() {
		return bdTypeDao;
	}

	public void setBdTypeDao(SysBdTypeDao bdTypeDao) {
		this.bdTypeDao = bdTypeDao;
	}
	/**
	 * 不分页查询
	 */
	public List<?> toViewList(String name) throws Exception{
		List<?> list=null;
		list=this.getBaseDao().queryForList("toList", " where  bdNamef='"+name+"' and statusf=0 order by " + WebConstants.DEFAULTORDERFIDS);
		return list;
	}
}
